package com.zzyk.main.service;

import com.zzyk.main.model.pojo.DeviceElectricityDay;

import java.util.HashMap;

public interface DeviceElectricityDayService {


    int deleteByPrimaryKey(Integer id);

    int insert(DeviceElectricityDay record);

    int insertSelective(DeviceElectricityDay record);

    DeviceElectricityDay selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DeviceElectricityDay record);

    int updateByPrimaryKey(DeviceElectricityDay record);

    /**
     * 获取企业下所有设备每天用电统计
      * @param enterprise
     * @param month
     * @param deviceList
     * @return
     */
    HashMap<String, DeviceElectricityDay> findOverviewOfEnergyUse(Integer enterprise, String month, Integer[] deviceList);


}
